//
//  GoodsCollectionCellModel.m
//  LoveHappyShopping
//
//  Created by 白水非泉 on 16/6/24.
//  Copyright © 2016年 白水非泉. All rights reserved.
//

#import "GoodsCollectionCellModel.h"

@implementation GoodsCollectionCellModel
-(instancetype)initWithDict:(NSDictionary *)dict{
    if (self=[super init]) {
        self.pic_url=dict[@"pic_url"];
        self.title=dict[@"titel"];
        self.now_price=[dict[@"now_price"] intValue];
        self.origin_price=[dict[@"origin_price"] intValue];
        self.num_iid=dict[@"num_iid"];
    }
    return self;
}
+(instancetype)cellModelWithDict:(NSDictionary *)dict{
    return  [[self alloc]initWithDict:dict];
}
@end
